package com.qdxwx.data.mapper.operLog;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.operLog.OperLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 操作日志 数据层
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface OperLogMapper {

    void insertOperlog(OperLog operLog);

    List<OperLog> selectList(@Param("e") OperLog operLog, @Param("page") PageRequest page);

    long selectCount(@Param("e") OperLog operLog);

    int deleteOperLogByIds(String[] ids);

    OperLog selectOperLogById(Long operId);

    void cleanOperLog();
}
